$(function () {
  $('.ui.search.dropdown').dropdown({
    clearable: true,
    allowAdditions: true, // 允许用户自己添加
    // apiSettings:{url: '/users/employees/'},  // 允许远程内容
    // transition: 'fade',
    // filterRemoteData: true,
    fullTextSearch: true,
    // direction: 'upward',
    onShow: function () {
      // console.log(this);
      $(this).parent().css('position', 'absolute')
    },
    onHide: function () {
      $(this).parent().css('position', '')
    }
  });
  // $('.ui.selection.dropdown').css('position', 'absolute')
});
